﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="FilStartUps_ForumReply.ascx.cs"
    Inherits="FilStartUps.Controls.FilStartUps_ForumReply" %>
<%--   HeaderStyle-BackColor="#4373B4"   onselectedindexchanged="dgforumreply_SelectedIndexChanged"--%>
<asp:DataGrid runat="server" ID="dgforumreply" BorderWidth="0" CellPadding="0" CellSpacing="0"
    AutoGenerateColumns="false" Width="100%" AllowPaging="True" PageSize="10" OnPageIndexChanged="dgforumreply_Paged"
    OnItemCommand="dgforumreply_ItemCommand" HeaderStyle-BorderColor="#666">
    <PagerStyle Mode="NextPrev" HorizontalAlign="Right" CssClass="pageLink" BackColor="#ffffff"
        NextPageText="Next &gt;" PrevPageText="&lt; Prev" />
    <SelectedItemStyle CssClass="bglight" />
    <AlternatingItemStyle CssClass="bgdark" />
    <ItemStyle CssClass="bglight" />
    <Columns>
        <asp:TemplateColumn>
            <ItemStyle CssClass="listColumnText" />
            <ItemTemplate>
                <table>
                    <tr>
                        <td rowspan="2">
                            <asp:Image runat="server" ID="imgavatar" ImageUrl='<%# "../FilStartUps.ashx?id=" + Eval("memberidFK") + "&cat=" + 1 %>'
                                Height="80px" Width="120px" />
                            <asp:Label runat="server" ID="lbemail"></asp:Label>
                        </td>
                        <%-- <div class="grid_8" style="font-size:13px;margin-left:80px">
                        --%>
                        <td>
                            <div style="padding: 0px 0px 0px 100px">
                                <asp:Label runat="server" ID="replyid" Visible="false" Text='<%# DataBinder.Eval(Container.DataItem, "forumreplyidPK") %>'></asp:Label>
                                <asp:Literal runat="server" ID="lbreplydescription" Text='<%# DataBinder.Eval(Container.DataItem, "replydescription") %>'></asp:Literal>
                                <tr>
                                    <td>
                                        <div style="padding-left:100px">
                                        <asp:LinkButton runat="server" ID="reportbtn" CommandName="SelectRow">Report</asp:LinkButton>
                                        </div>
                                    </td>
                                </tr>
                            </div>
                        </td>
                        <%--    </div>--%>
                    </tr>
                </table>
            </ItemTemplate>
        </asp:TemplateColumn>
    </Columns>
</asp:DataGrid>
<br />
<br />
<%-- <asp:DataList
 runat="server" ID="dlforumreply" RepeatColumns="1">
 
    <ItemTemplate>
        <div class="grid_3">
            <asp:Image ID="Image1" runat="server"  ImageUrl='<%# "../FilStartUps_Images.ashx?id=" + Eval("memberidFK") + "&cat=" + 1 %>' Height="128px" Width="200px" />
          
        </div>
        <div class="grid_8">
        <asp:Literal runat="server" ID="ltdesc" Text='<%# DataBinder.Eval(Container.DataItem, "replydescription") %>'></asp:Literal>
        </div>
          <div class="cleaner">
            <br />
          </div>
    </ItemTemplate>
 
 </asp:DataList>
  <div>
        <div align="left" style="padding: 10px; margin-left: 120px; float: left;">
            <asp:LinkButton ID="lnkbPrev" runat="server" OnClick="lnkbPrev_Click">Prev</asp:LinkButton>
            &nbsp;&nbsp;
            <asp:LinkButton ID="lnkbNext" runat="server" OnClick="lnkbNext_Click">Next</asp:LinkButton>
        </div>
        <div align="right" style="padding: 10px; margin-left: 120px;">
            <asp:Literal ID="litPageNumber" runat="server" Text=""></asp:Literal>
        </div>
    </div>--%>